file(GLOB cflHeaders "cfl/*.h")
install(FILES ${cflHeaders}
    DESTINATION ${CFL_INSTALL_INCLUDEDIR}/cfl
    COMPONENT headers
    PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)

# xxHash
if(CFL_INSTALL_BUNDLED_XXHASH_HEADERS)
  install(FILES ${CFL_ROOT}/lib/xxhash/xxh3.h
    DESTINATION ${CFL_INSTALL_INCLUDEDIR}
    COMPONENT headers
    PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
  install(FILES ${CFL_ROOT}/lib/xxhash/xxhash.h
    DESTINATION ${CFL_INSTALL_INCLUDEDIR}
    COMPONENT headers
    PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
endif()
